@layout("/common/_container.html",{js:["/assets/business/certification/certification_edit.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">修改</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <label class="layui-form-label">用户昵称</label>
                    <label class="layui-form-label" style="text-align: left">
                        ${certificationResult.userName}
                    </label>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <label class="layui-form-label">真实姓名</label>
                    <label class="layui-form-label" style="text-align: left">
                        ${certificationResult.name}
                    </label>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <label class="layui-form-label">身份证号</label>
                    <label class="layui-form-label" style="text-align: left">
                        ${certificationResult.idCard}
                    </label>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="certificationForm" lay-filter="certificationForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="certificationId" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">用户id<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="userId" name="userId" placeholder="请输入用户id" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">真实姓名<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="name" name="name" placeholder="请输入真实姓名" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">身份证号<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="idCard" name="idCard" placeholder="请输入身份证号" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">银行卡号<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="cardNo" name="cardNo" placeholder="请输入银行卡号" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">手机号<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="phone" name="phone" placeholder="请输入手机号" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">正面照<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="frontSide" name="frontSide" placeholder="请输入正面照" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">反面照<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="backSide" name="backSide" placeholder="请输入反面照" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">手持身份证<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="handSide" name="handSide" placeholder="请输入手持身份证" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">审批状态：0：审批中，1：通过，2：拒绝<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="status" name="status" placeholder="请输入审批状态：0：审批中，1：通过，2：拒绝" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">创建时间<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="createTime" name="createTime" placeholder="请输入创建时间" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">更新时间<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="updateTime" name="updateTime" placeholder="请输入更新时间" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-pane">
                    <div class="layui-form-item layui-form-text" style="margin-top: 10px;">
                        @if(certificationResult.status == 0){
                        <label class="layui-form-label">审核意见</label>
                        <div class="layui-input-block">
                            <textarea placeholder="请输入内容" class="layui-textarea" name="description"></textarea>
                        </div>
                        @}
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        @if(certificationResult.status == 0){
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>通过</button>
                        <button class="layui-btn" lay-filter="btnFail" lay-submit>拒绝</button>
                        @}
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}